<template>
  <div id="app">
    <el-container>
      <el-header>
        <hello-world msg="Vue demo"></hello-world>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <custom-slide></custom-slide>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
    <!-- <custom-component></custom-component> -->
  </div>
</template>

<script>
import HelloWorld from './components/CustomHeader.vue';
import CustomSlide from './components/CustomSlide.vue';
// import CustomComponent from './components/example/components/CustomComponent.vue';

export default {
  name: 'app',
  components: {
    HelloWorld,
    CustomSlide,
    // CustomComponent
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  height: 100%;

}

.el-header, .el-footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  line-height: 60px;
}
    
.el-aside {
  background-color: #000000;
  color: #fff;
  text-align: center;
  line-height: 200px;
  position: fixed;
  height: 100%;
}
.el-main {
  /* background-color: #E9EEF3; */
  color: #333;
  text-align: center;
  line-height: 160px;
  margin-left: 200px;
  
}
</style>
